package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.uchiha.nova.core.tool.support.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 机器设备分组与机器关联 实体类
 *
 * @author Uchihashiamu
 */
@Data
@TableName("botech_group_machine_relation")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "GroupMachineRelation对象")
public class GroupMachineRelationEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 设备分组id
	 */
    @Schema(description = "设备分组id")
    @TableField("group_id")
	private Long groupId;
	/**
	 * 设备id
	 */
    @Schema(description = "设备id")
    @TableField("machine_id")
	private Long machineId;
	/**
	 * 省代码
	 */
    @Schema(description = "省代码")
    @TableField("province_code")
	private String provinceCode;
	/**
	 * 城市代码
	 */
    @Schema(description = "城市代码")
    @TableField("city_code")
	private String cityCode;
	/**
	 * 区县代码
	 */
    @Schema(description = "区县代码")
    @TableField("area_code")
	private String areaCode;
	/**
	 * 街道id
	 */
    @Schema(description = "街道id")
    @TableField("street_code")
	private String streetCode;
	/**
	 * 第三方code
	 */
    @Schema(description = "第三方code")
    @TableField("third_code")
	private String thirdCode;

}
